package basics.day12.ConstructorLoad;

public class Test {
    public static void main(String[] args) {
        Person p = new Person();
        p.setAge(10);
        p.setName("张三");
        System.out.println(p.getAge() + "......" + p.getName());

        Person p1 = new Person(18, "王二");
        System.out.println(p1.getAge() + "......" + p1.getName());
    }
}
